﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Manul.Genetics.Genom
{
    public sealed class GenNull : Gen
    {
        private static volatile GenNull instance = null;
        private static object syncRoot = new Object();

        internal static GenNull GetInstance()
        {
            if (instance == null)
            {
                lock (syncRoot)
                {
                    if (instance == null)
                        instance = new GenNull();
                }
            }
            return instance;
        }

        private GenNull() { }
    }
}
